package com.example.demo.service;


import com.example.demo.common.CommonResult;
import org.springframework.stereotype.Repository;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

@Repository
public interface FileService {
    CommonResult fileUpload(MultipartFile multipartFile);

    CommonResult fileDownLoad(String fileName, HttpServletResponse httpServletResponse);

    CommonResult getFileInformation(String fileName);
}
